/**
 * LazyComponent 解决r6 的element 不支持直接写lazy包裹后的变量问题
 * @param lazyChildren 真实的组件
 */
import React, { LazyExoticComponent, ComponentType, ReactElement } from "react"

export function LazyComponent(props: { lazyChildren: LazyExoticComponent<ComponentType<unknown>> | (() => ReactElement) }) {
    return <props.lazyChildren />
}
